package com.hsmw.schedule.vo;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsmw.common.base.BaseModel;
import com.hsmw.domain.HsmwConstructionPosition;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class BeanUtilsRequestVO extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    @ApiModelProperty(value = " 车辆类型 ")
    private String vehicleType;

    @ApiModelProperty(value = " 车牌型号 ")
    private String vehicleModel;

    @ApiModelProperty(value = "需要的数量")
    private int vehicleNumber;

    @ApiModelProperty(value = "剩余需要的车辆数")
    private int remainVehicleNumber;


    @ApiModelProperty(value = "剩余需要指定公司的车辆数")
    private int remainAppointVehicleNumber;


    @ApiModelProperty(value = "需求状态 ")
    @TableField(updateStrategy = FieldStrategy.IGNORED )
    private String requestStatus;


    @ApiModelProperty(value = "派单类型")
    private String distributeType;


    @ApiModelProperty(value = "施工部位信息")
    @TableField(exist = false)
    private HsmwConstructionPosition hsmwConstructionPosition;


    @ApiModelProperty(value = " 指定租赁公司ID ")
    @TableField(exist = false)
    private String leasingCompanyId;


    @ApiModelProperty(value = "预计方量")
    private String expectVolume;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("其他备注")
    private String otherRemark;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "到达时间")
    private LocalDateTime reachTime;


    @ApiModelProperty("臂节数")
    private String armSegment;


    @ApiModelProperty(value = "车轴数量")
    private String axis;


    @ApiModelProperty(value = "施工部位ID")
    private String positionId;

    @ApiModelProperty(value = "是否混天凝叫车 0 否 ；1 是")
    private String ifSelfChoose;


    @ApiModelProperty(value = "版本号")
    private Integer version;



}
